<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			window.uniemit = uni.$emit
			window.unihide = uni.hideLoading
			window.uniToast = uni.showToast
			window.checkboxCam = true
			window.iscam=true
			window.ismic=true
			window.windowMax=false
			uni.setStorageSync('windowMax',false)
			
			// window.addEventListener('onHangUp', (event) => {
				
			// });
			
			window.onEndSharing=()=>{
				zjsdk3.share_xxx_stop()
			}
			window.onMicrophoneOnOff=(type)=>{
				zjsdk3.local_dev_mute_mic(type)
			}
			window.onCameraOnOff=(type)=>{
				zjsdk3.local_dev_mute_cam(type)
			}
			
			window.onHangUp=(event)=>{
				loginMgr.reject_join_mr()
			}
			
			window.onAnswer=(event)=>{
				var meetingService = uni.getStorageSync('meetingService')
				var calldata = JSON.parse(event)
				zjsdk3.incoming_call(meetingService.meetingIp, '443', calldata.conference_alias, calldata.secret_key, calldata.time, uni.getStorageSync('sdkinfo').account,calldata.token)
			}
			
			
		},
		onShow: function() {
			console.log('App Show')
		},
		
		onHide: function() {
			console.log('App Hide')
		},
	}
</script>
<!-- 的
https://{ip 或域名}/rest/v1/app1/manager/sessions/{session_id}

记作： {manager_prefix}； 将普通用户角色调用 API 时的
https://{ip 或域名}/rest/v1/app1/user/sessions/{session_id} -->
<style>
	/*每个页面公共css */
	body {
		min-width: 1100px;
		/* max-width:1100px; */
		/* min-height: 700px; */
		overflow: auto;
		background-color: transparent;
		margin: 0;
		/* 去除默认边距 */
		/* transform:translate(x,y) */
	}

	html {
		background-color: transparent;
	}

	.animation {
		height: 0;
		transition: height 0.3s;
	}

	.sanimation {
		transition: height 0.3s;
		height: 700rpx;
	}

	.scroll-view /deep/ ::-webkit-scrollbar {
		display: none;
		width: 0 !important;
		height: 0 !important;
		-webkit-appearance: none;
		background: transparent;
	}

	/* lk css */
	/*flex*/
	.u-f,
	.u-f-item,
	.u-f-justify,
	.u-f-right,
	.u-f-bottom,
	.u-f-end,
	.u-f-jsb {
		display: flex;
	}

	.u-f-bottom {
		align-items: flex-end;

	}

	.u-f-item,
	.u-f-justify,
	.u-f-right {
		align-items: center;
	}

	.u-f-justify {
		justify-content: center;
	}

	.u-f-right {
		justify-content: flex-end;
	}

	.u-f-around {
		justify-content: space-around;
	}

	.u-f-jsb {
		justify-content: space-between;
	}

	.u-f-end {
		justify-content: flex-end;
	}

	.u-f-column {
		flex-direction: column;
	}

	.u-f-wrap {
		flex-wrap: wrap;
	}

	.cursor {
		cursor: pointer;
	}

	.singleLine {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.multipleLines {
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		/*3表示只显示3行*/
		/* autoprefixer: off */
		-webkit-box-orient: vertical;
		/* autoprefixer: on */
		/* 下面是多少行隐藏 */
		/* -webkit-line-clamp:2; */
	}
</style>